﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserRegister.aspx.cs" Inherits="UserRegister" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>用户注册</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label 
            ID="lbUserName" 
            runat="server" 
            Text="用户名："></asp:Label>
        &nbsp;
        <asp:TextBox 
            ID="RegtxtUserName" 
            runat="server"
            Width="128px" ></asp:TextBox>
        <br/>
        <asp:Label 
            ID="lbPassWords" 
            runat="server" 
            Text="密码："></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox 
            ID="RegtxtPassWords" 
            runat="server" 
            TextMode="Password"
            Width="128px"></asp:TextBox>
        <br/>
        <asp:Label 
            ID="lblRole" 
            runat="server" 
            Text="角色："></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:DropDownList 
            ID="ddlRole" 
            runat="server" 
            Width="100px">
            <asp:ListItem Text="客户" Value="2" />
            <asp:ListItem Text="上传员" Value="3" />
        </asp:DropDownList>
        <br/>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button 
            ID="btnRegister" 
            runat="server" 
            Text="注册"
            OnClick="btnRegister_Click"  />
        &nbsp;&nbsp;&nbsp;&nbsp;    
        <asp:Button 
            ID="btnCancel" 
            runat="server" 
            Text="取消" 
            OnClick="btnCancel_Click" /> 
                                                     
    </div>

    <div>
        <asp:HyperLink 
            ID="hlReturn" 
            runat="server"
            NavigateUrl="~/UserLogin.aspx" >返回</asp:HyperLink>         
    
    </div>

    </form>
</body>
</html>
